/**
 * output package name
 */
package com.kingdee.eas.lms.enumerate;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class DemandTypeEnum extends StringEnum
{
    public static final String ADDNEWDEMAND_VALUE = "10";
    public static final String RETRIEVALDEMAND_VALUE = "20";
    public static final String BARTERDEMAND_VALUE = "30";

    public static final DemandTypeEnum addnewDemand = new DemandTypeEnum("addnewDemand", ADDNEWDEMAND_VALUE);
    public static final DemandTypeEnum retrievalDemand = new DemandTypeEnum("retrievalDemand", RETRIEVALDEMAND_VALUE);
    public static final DemandTypeEnum barterDemand = new DemandTypeEnum("barterDemand", BARTERDEMAND_VALUE);

    /**
     * construct function
     * @param String demandTypeEnum
     */
    private DemandTypeEnum(String name, String demandTypeEnum)
    {
        super(name, demandTypeEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static DemandTypeEnum getEnum(String demandTypeEnum)
    {
        return (DemandTypeEnum)getEnum(DemandTypeEnum.class, demandTypeEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(DemandTypeEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(DemandTypeEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(DemandTypeEnum.class);
    }
}